from django.test import TestCase

# Create your tests here.
def get_lines():
    file = "searchResult.txt"
    with open(file, "r", encoding='UTF-8') as f:
        lines = f.readlines()
    return lines

def testa(**kwargs):
    print(kwargs.items())
    for item in kwargs.items():
        if item[0]== '偏移':
            print('pianyi de key')
            print(item[1])



testa(比例系数=1,偏移=0)


# def testb(x,y,z=3,*books,**scores):
#     print(x,y,z)
#     print(books)
#     print(scores)
# testb(1,2,3,"fengkuang","suibianxie",语文=89,数学=90)